[Telemetry] Set dummy variable regex in tools/telemetry and tools/perf This change sets Pylint's dummy-variables-rgx variable so that variable names consisting entirely of underscores will not trigger unused argument warnings. BUG=475714 R=dtu,aiolos,nednguyen@google.com Review URL: https://codereview.chromium.org/1114343003 Cr-Original-Commit-Position: refs/heads/master@{#357130} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 0ee5d1c3e7b926381f4662222cefbb4224d66d63 
diff --git a/perf/pylintrc b/perf/pylintrc index cd635d3..039dd56 100644 --- a/perf/pylintrc +++ b/perf/pylintrc 
@@ -11,6 +11,12 @@  reports=no     +[VARIABLES] + +# Google style +dummy-variables-rgx=_$|unused_ + +  [FORMAT]    # We use two spaces for indents, instead of the usual four spaces or tab. 
diff --git a/telemetry/pylintrc b/telemetry/pylintrc index 9811c3c..5bb1038 100644 --- a/telemetry/pylintrc +++ b/telemetry/pylintrc 
@@ -11,6 +11,12 @@  reports=no     +[VARIABLES] + +# Google style +dummy-variables-rgx=_$|unused_ + +  [FORMAT]    # We use two spaces for indents, instead of the usual four spaces or tab. 
diff --git a/telemetry/telemetry/benchmark_run_unittest.py b/telemetry/telemetry/benchmark_run_unittest.py index c1d84cb..4913bff 100644 --- a/telemetry/telemetry/benchmark_run_unittest.py +++ b/telemetry/telemetry/benchmark_run_unittest.py 
@@ -82,7 +82,7 @@  parser = finder_options.CreateParser()  benchmark_module.AddCommandLineArgs(parser)  benchmarkclass.AddCommandLineArgs(parser) - options, dummy_args = parser.parse_args([]) + options, unused_args = parser.parse_args([])  benchmark_module.ProcessCommandLineArgs(parser, options)  benchmarkclass.ProcessCommandLineArgs(parser, options)  benchmark = benchmarkclass()